package com.yolo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author 霜蟾
 * @since 2021-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("yolo_salary")
public class Salary implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "salary_id", type = IdType.AUTO)
    private Integer salaryId;

    /**
     * 发放时间
     */
    private LocalDateTime grantTime;

    /**
     * 年月份工资
     */
    private String month;

    /**
     * 基本工资(主岗位+（副岗位总和）*1/3)
     */
    private Double baseSalary;

    /**
     * 出差补贴
     */
    private Double errandSubsidys;

    /**
     * 个人税
     */
    private Double tax;

    /**
     * 工作天数
     */
    private Integer workDate;

    /**
     * 全勤
     */
    private Double fullAttendance;

    /**
     * 罚金
     */
    private Double fine;

    /**
     * 实发工资
     */
    private Double finalSalary;

    /**
     * 用户编号
     */
    private Integer empId;

    /**
     * 社保费
     */
    private Double sb;


}
